package com.alibaba.citrus.ots.platform.enhance.service;

import java.util.List;

import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import com.epoch.app.otsplatformenhance.dto.request.CreateScItemGroupRequest;
import com.epoch.app.otsplatformenhance.dto.request.IdQueryRequest;
import com.epoch.app.otsplatformenhance.dto.request.QueryScItemGroupRequest;
import com.epoch.app.otsplatformenhance.dto.response.ScItemGroupResponse;

/**
 * @author zls
 * @description: TODO
 * @date 2021/9/8 18:46
 */
@MeshFlowService(apps = {"bc_ots"}, name="scItemGroupMeshFlowService")
public interface ScItemGroupMeshFlowService {
    /**
     * 创建货品组
     * @param request
     * @return
     */
    Result<String> createScItemGroup(CreateScItemGroupRequest request);

    /**
     * 根据id查询货品组
     * @param request
     * @return
     */
    Result<ScItemGroupResponse> getScItemGroupById(IdQueryRequest request);

    /**
     * 分页查询货品组列表
     * @param request
     * @return
     */
    Result<PageResult<List<ScItemGroupResponse>>> pageQueryScItemGroupList(QueryScItemGroupRequest request);
}
